Data recording method and apparatus, data recording medium, and data reproducing method and apparatus

ABSTRACT

The present invention provides remarkably improved availability in a data recording method and apparatus, a data recording medium, and a data reproducing method and apparatus. By recording additional information for data reproduction in each sector on a data reproducing medium as a subcode separately from data when the data is recorded in the unit of sector, reproduction of data can be controlled using the subcode, thus making it possible to remarkably improve the availability of the data recording medium.

TECHNICAL FIELD

The present invention relates to a data recording method and apparatus,a data recording medium, and a data reproducing method and apparatus.The present invention may be applicable, for example, to a method and anapparatus for recording and reproducing video data, audio data, captiondata, and data composed of a plurality of these data as well as dataproduced on a computer in accordance with the stipulation of ISO11172(MPEG1) or ISO13818 (MPEG2).

BACKGROUND ART

Heretofore, a data recording medium such as a compact disc (a trademark) has additional information data (subcode) recorded thereon forrealizing random access, in addition to information to be primarilyreproduced. The information to be primarily reproduced is subjected to amechanism for correcting errors with information located before andbehind the errors. Specifically, CIRC (Cross Interleaved Reed-SolomonCode) or the like is added to the information for countermeasures tosuch errors.

Thus, data can be utilized only after the lapse of a time required toread data before and behind certain data for performing the errorcorrection processing and a time required to calculations for the errorcorrection. Essentially, unlike reproducible data, the additionalinformation data is required to be utilized in a shorter time after itis read from a data recording medium, so that the error correctionprocessing is not performed for the additional information data, ordifferent error correction processing with a different calculationmethod from that for data to be primarily reproduced is employed for theadditional information data.

As additional information data for randomly accessing a data recordingmedium, the most necessary data is information indicative of theposition of data on the data recording medium, i.e., the address. Sincethe compact disc or the like is a data recording medium which wasoriginally created for recording audio data and is characterized in thatinformation is recorded at a fixed bit rate, information (address) forspecifying each read-out unit (sector) on the data recording medium isrepresented by a numerical value based on the hour, minute, second andframe, i.e., information (time code) on reproduction passing time fromthe head of reproduced data.

Due to the characteristic of the compact disc that information isrecorded at a fixed bit rate, audio data reproduction passing timeinformation (time code) on the disc increases in proportion to anincrease in the distance (address) of data from the head positionthereof on the data recording medium, i.e., the disc. Consequently,designation of a particular read-out unit (sector) on the data recordingmedium may also be realized by specifying the reproduction passing timerepresented by hour, minute, second and frame.

However, since this address based on hour, minute, second and frame isdenoted based on a 60-adic number or a 75-adic number utilizing thenumber of frames per second, this address cannot be used as it is for adata recording medium used by a computer system which basicallyspecifies addresses with binary codes (which may be denoted inhexadecimal). Thus, the MD (Mini-Disc (a trade mark)) standard and so onemploy a binary form as the address for specifying a sector. In thiscase, although a search cannot be made directly with reproductionpassing time information (time code), since information is recorded at afixed bit rate on the mini-disc and so on, conversion from a binary-formsector address to the reproduction passing time information (time code)can be realized by a proportional calculation.

However, if the bit rate of information varies, the correspondencebetween the conventional reproduction passing time informationrepresented by hour, minute, second and the number of frames and asector address cannot be calculated. With a varying bit rate, even ifthe time code was used as a second address, the rate of increase in thereproduction passing time information (time code) would be differentbetween a higher bit rate portion and a lower bit rate portion, wherebytwo or more sectors would exist having the same passing time information(time code), or two adjacent sectors would not always have sequentialpassing time information (time code), causing a problem that the timecode is not appropriate as the sector address for specifying a positionof data on the data recording medium.

Also, as video data recorded on a data recording medium, video data inconformity to the stipulation of ISO11172-2 (MPEG1 Video) or ISO1818-2(MPEG2 Video) may be occasionally recorded. This video data suffers fromtechnical restrictions on decoding. Specifically, the decoding cannot beperformed from an arbitrary position of a bit stream, but must be alwaysstarted from an I-picture. In a current video CD or the like, when asearch is made on a data recording medium for starting to read data froman arbitrary position, the data read is not always started from head ofan the I-picture, so that data cannot be utilized until the nextI-picture is reached, causing a problem that the decoding cannot bestarted for this period.

For reproducing the video data, one may wish to selectively decode onlyI- and P-picture with a B-picture skipped, or one may wish toselectively decode only I-picture with B- and P-picture skipped. Theconventional video CD's and so on, nevertheless, have a problem thatthey do not contain thereon information indicating at which position ofa data recording medium picture data is accommodated and which of I-,P-, and B-picture data is accommodated, or information indicating thehead position of such picture data, so that a picture of an arbitrarypicture type cannot be selectively reproduced by a search operation.

Furthermore, since respective picture data of the video data, afterencoded, are recorded in an order different from the order in which theyare displayed, a temporal reference is described in a picture header ofthe video data for indicating the display order. However, no specificmethod has been thought for allowing the user to make a search byspecifying a number of the temporal reference.

Also, the current data recording medium such as the compact disc hasonly one bit of management information on copyright, i.e., how to dealwith duplication. More specifically, only one bit is assigned toinformation indicating whether duplication of data recorded on the datarecording medium is prohibited or permitted. This limits to only twokinds of determinations, that is, duplication is prohibited orpermitted. Thus, such insufficient management information implies aproblem that it is impossible to achieve detailed copyright managementin combination of a plurality of conditions including whether or notduplication is permitted in a converted analog data form; whether or notduplication is permitted in a digital data form; whether or not data maybe output to computer equipment; whether or not data may be output toaudio-visual equipment other than a computer; and so on, and thatrepetitive duplications cannot be restricted.

Also, in the current compact disc and so on, an additional informationdata portion for use in accessing certain data is provided in a fixedconfiguration, thus presenting few freedom for using the compact disc ina variety of ways, e.g., for using the compact disc so as to support aplurality of applications.

DISCLOSURE OF THE INVENTION

The present invention has been made in view of the foregoing aspects,and proposes a data recording method and apparatus, a data recordingmedium, and a data reproducing method and apparatus which are capable ofsolving the conventional problems at a stroke and remarkably improvingthe usability as a whole.

To solve the problems mentioned above, the present invention provides adata recording method for recording data in the unit of sector on a datarecording medium, wherein additional information for data reproductionis recorded as a subcode in each sector separately from data.

The present invention also provides a data recording apparatus forrecording data in the unit of sector on a data recording medium whichcomprises subcode generating means for generating a subcode asadditional information for data reproduction in each sector separatelyfrom data recorded therein; and subcode adding means for recording dataand the subcode in each sector.

The present invention also provides a data recording medium forrecording data thereon in the unit of sector, wherein a subcode asadditional information for data production is recorded in each sectorseparately from the data.

The present invention also provides a data reproducing method forreproducing a data recording medium which has a subcode serving asadditional information for data reproduction recorded in each sectorseparately from data when the data was recorded in the unit of sector,wherein the subcode recorded in each sector is reproduced independentlyof reproduction of the data recorded in each sector for controlling thereproduction of the data.

The present invention also provides a data reproducing apparatus forreproducing a data recording medium which has a subcode serving asadditional information for data reproduction recorded in each sectorseparately from data when the data was recorded in the unit of sector,which comprises main data reproducing means for reproducing the datarecording in each sector; subcode reproducing means for reproducing thesubcode recorded in each sector; and control means for controlling thereproduction of the data by the main data reproducing means based on thesubcode reproduced by the subcode reproducing means.

By recording the additional information for data reproduction as asubcode in each sector separately from data when the data is recorded ona data recording medium in the unit of sector, the subcode can be usedto control the data reproduction to remarkably improve the availabilityof the data recording medium.

Upon reproducing a data recording medium which has the subcode servingas additional information for data reproduction recorded in each sectorseparately from data when the data was recorded in the unit of sector,the subcode recorded in each sector is reproduced independently of thereproduction of the data recorded in each sector to control the datareproduction, thereby making it possible to support a variety ofreproducing methods and provide improved usability.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing the configuration of an embodiment ofa data recording apparatus according to the present invention.

FIG. 2 is a block diagram showing the configuration of an embodiment ofa data reproducing apparatus according to the present invention.

FIG. 3 is a table explaining a sector structure as an embodiment of adata recording format according to the present invention.

FIG. 4 i a schematic diagram explaining user data recorded in a sectorstructure in accordance with the data recording format of FIG. 3.

FIG. 5 is a table explaining a synchronization pattern in the sectorstructure in accordance with the data recording format of FIG. 3.

FIG. 6 is a table showing a structure for adding a time code to asubcode in the sector structure in accordance with the data recordingformat of FIG. 3.

FIG. 7 is a table showing a structure for adding entry point informationto the subcode in the sector structure in accordance with the datarecording format of FIG. 3.

FIG. 8 is a table showing a structure for adding picture headerinformation to the subcode in the sector structure in accordance withthe data recording format of FIG. 3.

FIG. 9 is a table showing a structure for adding a temporal reference tothe subcode in the sector structure in accordance with the datarecording format of FIG. 3.

FIG. 10 is a table showing a structure for adding copyright managementinformation to the subcode in a sector structure in accordance with thedata recording format of FIG. 3.

FIG. 11 is a table showing the contents of a time code which is added asthe subcode of FIG. 6.

FIG. 12 is a table showing the contents of a time code which is added asthe subcode of FIG. 6.

FIG. 13 is a table showing the contents of a time code which is added asthe subcode of FIG. 6.

FIG. 14 is a table showing the contents of picture header informationwhich is added as the subcode of FIG. 6.

FIG. 15 is a table showing the contents of picture header informationwhich is added as the subcode of FIG. 6.

FIG. 16 is a table showing the contents of picture header informationwhich is added as the subcode of FIG. 6.

FIG. 17 is a table showing picture types as the picture headerinformation of FIGS. 15 and 16.

FIG. 18 is a table showing another structure of the subcode in thesector structure in accordance with the data recording format of FIG. 3.

FIG. 19 is a table showing the contents of copyright information whichis added as the subcode of FIG. 18.

FIG. 20 is a table showing the contents of a duplication code field inFIG. 19.

FIG. 21 is a table showing the contents of a layer information fieldwhich is added as the subcode of FIG. 18.

FIG. 22 is a table showing the contents of a number of layers field inthe layer information of FIG. 21.

FIG. 23 is a table showing the contents of a layer number field in thelayer information of FIG. 21.

FIG. 24 is a table showing the contents of an application identificationnumber field which are added as the subcode of FIG. 18.

BEST MODE FOR EMBODYING THE PRESENT INVENTION

One embodiment of the present invention will be described in detail withreference to the accompanying drawings.

(1) Data Recording Format

(1-1) Sector Structure

A data recording medium according to this embodiment is a medium whichis capable of recording and storing data thereon, for example, a compactdisc, a magneto-optical disc, a hard disc, and so on, where user dataincluding video data, audio data, caption data, data composed of aplurality of these data, and data produced on a computer as well asadditional information including a subcode and so on are recorded by adata recording apparatus in a sector structure defined in accordancewith a data recording format shown in FIG. 3 at a variable data rate.

In third data recording format, the size of a user data field in asector is selected to be 2,048 bytes. Also in this embodiment, onepacket is defined so as not to extend over a plurality of sectors ofuser data, so that the length of one packet should be 2,048 bytes atmaximum or less. The user data in each sector always has a packet headeradded at the head thereof, as shown in FIGS. 4(A)-4(C).

Actually, placed at the head of each sector is a four-bitsynchronization pattern comprising one of fixed patterns as shown inFIG. 5 by which the head of each sector is detected. Subsequent to thissynchronization pattern, a two-byte CRC (Cyclic Redundancy Check) codeis calculated and added for a subcode which is placed behind the CRCcode. The subcode added subsequent to the CRC code includes a variety ofidentification information on user data. The subcode has a 14-bytelength. Subsequent to the subcode, the above-mentioned user data isadded, followed by a four-byte CRC code calculated from and added forthe subcode, the CRC code for the subcode and the user data. For thesake of convenience, the four-byte CRC code calculated from the subcode,CRC code and user data is called the “EDC”. For these synchronizationpattern, subcode, CRC code, user data, and EDC, two kinds of parities C1and C2 having different interleave directions created in accordance withthe cross interleaved Reed-Solomon code, i.e. 308 bytes of ECC (ErrorCorrection Code) is added to complete a sector consisting of 2,380 bytesof recording data which is recorded on a data recording medium forstorage and reproduction.

(1-2) Structure of Subcode

In the above described data recording format, four-byte time codeinformation (FIG. 6), one-byte entry point information (FIG. 7),one-byte picture header information (FIG. 8), two-byte temporalreference information (FIG. 9), or four-byte copyright managementinformation (FIG. 10) is used in addition to a four-byte sector number(a sector address) as the contents of the subcode, as shown in FIGS.6-10.

Actually, with the sector number and the time code information beingused for the subcode as shown in FIG. 6, the position of each sector canbe specified even if data is recorded on a data recording medium at avariable data rate, the sector address can be specified in a mannersuitable for a data recording medium used in a computer system, and asearch using the time code information can be easily realized forreproduction, thus making it possible to extent applicable areas of thedata recording medium.

A data format for the time code information may be implemented by a timecode having fields of hour, minute, second, 1/10 second, and 1/100second, as shown in FIG. 11. This is a data format commonly usable asthe time code for video data, audio data and caption data. Time codeinformation exclusive to video data may be implemented by a time codehaving fields of hour, minute, second, and a number of frames of a videosignal, as shown in FIG. 12. In the case of FIGS. 11 and 12, all fieldsare described in a BCD (Binary Coded Decimal) notation.

A further data format for the time code information may employ a timecode format stipulated in ISO13818-2 (MPEG2 Video) as shown in FIG. 13.Since this format permits a time code included in video data and a timecode included in additional information to be analyzed by the samemethod, an analysis circuit or an analysis program can be shared by thevideo data and the additional information. Also, since respective fieldsof this format are described in a binary notation, the time codeinformation can be written with a less amount of information thanwriting a time code described in a BCD notation into additionalinformation. Thus, if a fixed length subcode is employed, further,information may be added thereto by the reduced amount.

The entry point information, stored in the subcode shown in FIG. 7, isflag information which is set only for a sector including the headposition of a I-picture. Specifically explaining, this flag information,set only for a sector including the head position of an I-picture isprovided such that when a data reproducing apparatus is adapted to startreading out data by detecting the flag information, the decoding can beinitiated immediately from the head of the I-picture. In this way,reproduction can be started immediately after a high-speed searchoperation.

The picture header information, stored in the subcode shown in FIG. 8,may comprise a one-bit picture header flag which is set only for asector including the head position of a picture as shown in FIG. 14;two-bit picture type information (indicative of an I-, P-, or B-picture)as shown in FIG. 15; or both of the picture header flag and the picturetype information as shown in FIG. 16. As to the picture type, two-bitpatterns are assigned to the I-picture, P-picture, and B-picture,respectively, as shown in FIG. 17. It should be noted that the two-bitpattern indicative of an I-picture is added as a subcode when at leastI-picture data exist in a corresponding sector; the two-bit patternindicative of a P-picture is added when I-picture data does not existbut P-picture data exists in a corresponding sector; and the two-bitpattern indicative of a B-picture is added when neither I-picture datanor P-picture data exist but B-picture data only exists in acorresponding sector.

By thus adding the picture header information to the subcode such that areproducing apparatus detects it to control a data read operation, datacan be initially read from the head position of a picture, oralternatively, selective reproduction based on the picture type can beimplemented in such a manner that a picture to be decoded is read whilea picture not to be decoded is skipped.

The temporal reference information, stored in the subcode shown in FIG.9, refers to a temporal reference existing in a picture layer within abit stream stipulated by ISO11172-2 (MPEG1 Video) or ISO13818-2 (MPEG2Video) for indicating an order in which respective pictures are to bedisplayed. By thus providing the subcode with the temporal referenceinformation such that a data reproducing apparatus starts reading dataupon detecting the temporal reference information, the data reproducingapparatus can access to a picture with a temporal reference numberspecified by the user.

The copyright management information, stored in the subcode shown inFIG. 10, includes one-byte information indicating how to treat thecopyright for each of digital video, analog video, digital audio, andanalog audio data. The set of one-byte copyright information added as asubcode provides for copyright management in combination of a pluralityof conditions in accordance with data creator or recorder's intention.

The subcode may also take a form shown in FIG. 18. As illustrated, whenthe subcode is formatted to include copyright information, layerinformation, sector number (sector address), track number, applicationidentification number, and application information, this singlestructure subcode enables a data recording medium to support a varietyof applications.

The copyright information shown in FIG. 18 indicates attributes withrespect to duplication of user data included in an associated sectorwith a two-bit duplication code as shown in FIG. 19. The duplicationcode has two-bit patterns as shown in FIG. 20 which are assigned toattributes of “Duplication Permitted”, “Duplication Once Permitted”, and“Duplication Prohibited”, respectively.

The layer information is used when a disc comprises a plurality oflayers to indicate how many layers the disc including a sector is formedof, and which of the layers the sector is contained.

More specifically, the layer information in FIG. 18 representsinformation on a disc and a layer including a sector with three-bitfields denoted “Number of Layers” and “Layer Number” as shown in FIG.21. “Number of Layers” is set to “1” when a disc including the sector isformed of a single layer, and to “2” when the disc is formed of twolayers. Numerical values other than “1” and “2” are reserved.

“Layer Number”, as shown in FIG. 23, is set to “0” when a layerincluding a sector is a first layer, and to “1” when it is a secondlayer. Numerical values other than “0” and “1” are reserved.

The track number shown in FIG. 18 is provided for realizing a mechanismof a track utilized for searching for the head of a music title on acompact disc or the like. The track is defined as a set of sequentialsectors on a disc and denoted a track number.

The application identification number shown in FIG. 18 is provided forclassifying the contents of information written in a user data portionof FIG. 3 in accordance with applications associated with theinformation. For example, supposing that a portion of a disc containsdata for a so-called application DVD (Digital Video Disc), and the otherportion contains data for another application (for example, an audioapplication), a different number is recorded in the applicationidentification number field of the subcode associated with each data toallow easy discrimination of data for different applications uponreproduction. The application identification number is also used fordefining the kind of information recorded in the application informationfield subsequent to the application identification number field.

FIG. 24 shows, by way of example, the definition of applicationidentification number. When the application identification number is setto “0”, the subsequent application information field is filled with “0”.

Also, when the application identification number is set to “1”, DVD(Digital Video Disc) data is recorded in the user data area of anassociated sector, and information regarded to be important to DVD iswritten into the application information field. For example, theapplication information field may contain information on the entrypoint, described above with reference to FIG. 7 which is very importantinformation for the MPEG standard used in DVD.

When the application identification number is set to “2”, audio data isrecorded in the user data area of an associated sector, so thatinformation regarded to be important to audio is recorded in theapplication information field. For example, the sampling frequency, bitlength, and so on of audio data are recorded to help the operation of areproducing apparatus.

When the application identification number is set to “254”, the userdata area of an associated sector is filled with “0”. The applicationidentification number from “3” to “253” and “255” is reserved here.

According to the foregoing recording format, video data, audio data,caption data, data composed of a plurality of these data, and dataproduced on a computer are recorded in the unit of sector, and time codeinformation, entry point information, picture header information,temporal reference information, or track number is added as a subcode toeach sector in addition to a sector number, thus making it possible torealize a data recording medium which can remarkably improve theusability thereof for special reproduction, search and reproduction, andso on performed on the reproducing apparatus side, even if data isrecorded thereon at a variable data rate.

Also, with the information on copyright added as a subcode to eachsector, it is possible to realize a data recording medium with whichdetailed copyright management can be achieved for each sector on thereproducing apparatus side.

Further, with the layer information added as a subcode to each sector,it is possible to realize a data recording medium from which recordeddata extending over a plurality of layers can be reproduced by areproducing apparatus.

Furthermore, by recording the application identification number and theapplication information, information required by a variety ofapplications can be easily recorded in each subcode, thus making itpossible to realize a data recording medium which can remarkably improvethe usability.

(2) Data Recording Apparatus According to Embodiment

Referring to FIG. 1, reference numeral 1 generally designates a datarecording apparatus which records data in the data recording formataccording to the present invention which has been described withreference to FIGS. 3-17 and 18-24. The data recording apparatus 1 ofthis embodiment multiplexes video data, audio data, caption data, aprogram composed of a plurality of these data, and data produced on acomputer, adds additional information such as the subcode to the data,and records them on a data recording medium 19.

In this data recording apparatus 1, a master data supply unit 2, inresponse to a command from a control unit 20, supplies previouslyproduced video data, audio data, and caption data to a video encoder 5,an audio encoder 8, and a caption encoder 7, respectively. This masterdata supply unit 2 comprises, for example, a video tape player forbusiness use. When time code information is found in a sector togetherwith video data, audio data and caption data, the master data supplyunit 2 supplies the time code information to a time code informationswitching circuit 10.

A computer 3, in response to a command from the control unit 20,supplies a computer interface 4 with computer data to be recorded on thedata recording medium 19. The computer interface 4 converts electriccharacteristics, signal format, data format, and so on of informationsent from the computer 3, and supplies a multiplexer circuit 8 with theinformation converted but having the same contents.

The video encoder 5 encodes video data sent from the master data supplyunit 2 in accordance with a coding procedure stipulated by ISO11172-2(MPEG1 Video) or ISO13818-2 (MPEG2 Video), and supplies encoded videodata to the multiplexer circuit 8. The video encoder 5 also supplies asubcode encoder 11 with entry point information indicative of a positionat which I-picture data is found; picture header information indicativeof a position at which a picture header is found; picture typeinformation indicative of the type of a picture; and temporal referenceindicative of an order in which respective pictures are displayed.

The audio encoder 6 supplies the multiplexer circuit 8 with audio datasent fro the master data supply unit 2 as it is or after encoding it inaccordance with a coding procedure stipulated in ATRAC (AdaptiveTransform Acoustic Coding) which complies with ISO11172-3 (MPEG1 Audio),ISO13818-3 (MPEG2 Audio) or MD (mini-disc) standard. The caption encoder7 supplies the multiplexer circuit 8 with caption data sent from themaster data supply unit 2 as it is or after subjecting it to run-lengthcompress.

The multiplexer circuit 8 multiplexes data sent from the video encoder5, audio encoder 6, caption encoder 7, and computer interface 4 inconformity to the stipulation of ISO1172-1 (MPEG1 System) or ISO13818-1(MPEG2 System). In this event, the multiplexer circuit 8 receives anindication from the control unit 20 as to a processing unit of datawhich can be read from or written into the data recording medium 19 at atime, i.e., an amount of user data recorded in a sector, multiplexesdata so as to prevent a packet from extending over user data areas in aplurality of sectors, and supplies multiplexed user data to a subcodeadding circuit 15. Simultaneously with this, the multiplexer circuit 8also supplies a sector boundary signal indicative of a boundary betweensectors to the subcode adding circuit 15.

A time code information generator 9 generates time code information inresponse to a command from the control unit 20. The time codeinformation switching circuit 10 selects one from time code informationsent from the master data supply unit 2 and time code information sentfrom the time code information generator 9, and supplies selected one tothe subcode encoder 11. Note that the time code information switchingcircuit 10 selects time code information sent from the master datasupply unit 2 whenever it is sent therefrom, and selects time codeinformation sent from the time code information generator 9 when no timecode information is sent from the master data supply unit 2.

The subcode encoder 11 encodes sector number information sent from thecontrol unit 20 and other additional information into a predeterminedformat, and supplies the encoded information to a CRC encoder 12. Theother additional information mentioned above refers to copyrightmanagement information, time code information sent from the time codeinformation switching circuit 10, and entry point information, pictureheader information, picture type information or temporal referenceinformation sent from the video encoder 5.

Further additional information may include layer information, tracknumber, application identification number, and application informationinputted from an input unit not shown. If the application identificationnumber indicates, for example, DVD, the application information has theentry point information sent from the video encoder 5.

The CRC encoder 12 calculates CRC for subcode information sent from thesubcode encoder 11, adds the CRC data to the subcode information,further calculates EDC, adds the EDC to the subcode information, andsupplies the subcode information with the additional CRC and EDC to asynchronization pattern adding circuit 13. The synchronization patternadding circuit 13, in turn, adds the synchronization pattern shown inFIG. 5 to the supplied subcode information and supplies them to asubcode buffer 14. The subcode adding circuit 15 inserts the subcodeinformation read from the subcode buffer 14 at the boundary of eachsector in data sent from the multiplexer circuit 8. The position atwhich the subcode information is inserted is determined on the basis ofa sector boundary signal sent from the multiplexer circuit 8. An ECCencoder 16 uses multiplexed data sent from the subcode adding circuit 15to calculate C1 and C2 parities, i.e., ECC in accordance withReed-Solomon code, adds the ECC to the multiplexed data, and suppliesthem to a modulator circuit 17.

The modulator circuit 17 is a circuit for modulating data sent from theECC encoder 16 to a signal format recordable on the data recordingmedium 19, and performs EFM (Eight to Fourteen Modulation), by way ofexample. A writer unit 18 electrically, magnetically, optically, and/orphysically records signals sent from the modulator circuit 17 on thedata recording medium 19.

While in this embodiment, the ECC, i.e., the parities are calculated forand added to the multiplexed data after the subcode is added thereto,the data recording apparatus 1 may be constructed to add the subcode tothe multiplexed data sent from the multiplexer circuit 8 after the ECCis added to the multiplexed data.

The control unit 20 supplies a supply command to the master data supplyunit 2 and the computer 3 in accordance with editing instructions fromthe user, indicates the processing unit of read/write, i.e., the size ofa sector for the data recording medium 19 to the multiplexer circuit 8,and supplies a time code generating command to the time code informationgenerator 9. The control unit 20 also supplies a switching command tothe time code switching circuit 10, receives a command related tocopyright management, layer information, track number, applicationidentification number, and application information from an input unit,not shown, and supplies the subcode encoder 11 with sector numberinformation, copyright management information, layer information, tracknumber, application identification number, and application information.

In the foregoing configuration, the control unit 20 first commands themaster data supply unit 2 or the computer 3 to supply data in accordancewith editing instructions from the user, and indicates the size of asector to the multiplexer circuit 8. The control unit 20 also generatessector number information, copyright management information, layerinformation, track number, application identification number, andapplication information for recording in the subcode which are suppliedto the subcode encoder 11. Further, if no time code information is sentfrom the master data supply unit 2, the control unit 20 commands thetime code information generator 9 to generate time code information inaccordance with instructions from the user.

The video encoder 5 encodes inputted video data in accordance withISO11172-2 (MPEG1 Video) or ISO13818-2 (MPEG2 Video), and supplies theencoded video data to the multiplexer circuit 8. In this event, picturetype information indicative of the type of an encoded picture(I-picture, P-picture, or B-picture) and temporal reference informationare supplied to the subcode encoder 11. Also, when a picture header issent, information indicating that a picture header exists is alsosupplied to the subcode encoder 11. In particular, when an I-picture issent, information indicating that an I-picture header exists, i.e.,entry point information is supplied to the subcode encoder 11.

The audio encoder 6 and the caption encoder 7 respectively encode anaudio signal and a caption signal inputted thereto, and supply theencoded signals to the multiplexer circuit 8. The multiplexer circuit 8multiplexes data sent from the video encoder 5, audio encoder 6, andcaption encoder 7 in conformity to the stipulation of ISO1172-1 (MPEG1System) or ISO13818-1 (MPEG2 System).

The user data divided into packets per sector by the multiplexer circuit8 is supplied to the subcode adding circuit 15 and the CRC encoder 12.The multiplexer circuit 8 also supplies the subcode adding circuit 15with a sector boundary signal which is set to “1” only when the firstbyte of user data, i.e., data indicative of the boundary of a sector isdelivered and to “0” in other cases.

The subcode encoder 11 in turn creates subcode data in accordance withthe subcode structures shown in FIGS. 6-10 and 18-24. More specifically,the subcode encoder 11 composes a subcode of a sector number and a timecode (FIG. 6); the sector number and entry point information (FIG. 7);the sector number and picture header information (FIG. 8); the sectornumber and temporal reference (FIG. 9); the sector number and copyrightmanagement information (FIG. 10); or the copyright managementinformation, layer information, sector number, track number, applicationidentification number, and application information as shown in FIG. 18,all of which are extracted from the data sent thereto, and supplies thecomposed subcode to the CRC encoder 12. The CRC encoder 12 calculatesCRC for the subcode data received from the subcode encoder 11, and addsthe CRC immediately before the subcode data. The CRC encoder 12 furthercalculates EDC from the user data sent from the multiplexer circuit 8and the subcode data with the CRC added thereto, and supplies thesynchronization pattern adding circuit 13 with this EDC together withthe subcode data with the additional CRC data.

The synchronization pattern adding circuit 13 adds a synchronizationpattern (FIG. 5) immediately before the subcode data with the additionalCRC data, and supplies the subcode data having the CRC data and thesynchronization pattern to the subcode buffer 14. The subcode buffer 14holes the sent data sequentially including the synchronization pattern,CRC, and subcode data and EDC so as to supply them to the subcode addingcircuit 15 in response to a request from the subcode adding circuit 15.

The subcode adding circuit 15 requests the subcode buffer 14 to supplycorresponding data sequentially including a synchronization pattern,CRC, and subcode data based on a sector boundary signal sent from themultiplexer circuit 8, inserts the requested data immediately before theuser data sent from the multiplexer circuit 8, adds the EDC immediatelybehind the user data, and supplies the ECC encoder 16 with the user datahaving the subcode data and EDC added thereto.

The ECC encoder 16 calculates ECC for the multiplexed data sent from thesubcode adding circuit 15, adds the calculated ECC to the multiplexeddata, and supplies the multiplexed data with the ECC to the modulatorcircuit 17.

The modulator circuit 17 modulates the data sent from the ECC encoder16, and supplies the modulated data to the writer unit 18 which in turnrecords the sent data on the data recording medium 19.

According to the foregoing configuration, in parallel with processingfor recording video data, audio data, caption data, data composed of aplurality of these data, and data produced on a computer in the unit ofsector, a time code, entry point information, picture headerinformation, temporal reference, copyright management information, layerinformation, track number, application identification number, orapplication information is generated as a subcode, and added to anassociated sector, thereby making it possible to realize a datarecording apparatus which can add useful subcode information on thereproduction side with a simple configuration.

(3) Data Reproducing Apparatus According to Embodiment

Referring now to FIG. 2, reference numeral 21 generally designates adata reproducing apparatus which reads video data, audio data, captiondata, data composed of a plurality of these data, and data reproduced ona computer together with additional information from the data recordingmedium 19 on which such data is recorded in accordance with the datarecording format of the present invention described above with referenceto FIGS. 3-17 and 18-24.

In this data reproducing apparatus 21, a drive unit 22 performsmechanical mounting and dismounting of a data recording medium 19, aswell as drives a pickup for reading signals from the data recordingmedium 19, which may be an optical head, a magnetic head, or amagneto-optical head, reads signals from the data recording medium 19 bymeans of the pickup, and supplies a demodulator circuit 23 withconsequently reproduced signals.

The demodulator circuit 23 demodulates signals sent from the drive unit22, and supplies the demodulated data to an ECC decoder 24. Ademodulating method employed herein corresponding to the modulatingmethod employed in the modulator circuit 16, and may be, for example,EFM demodulation.

The ECC decoder 24 performs calculations based on multiplexed data andC1 of ECC or C1 and C2 of ECC sent from the demodulator circuit 23 todetect whether errors are included in the multiplexed data and ECC. Inthis event, correctable errors in the multiplexed data, if detected, arecorrected, and the ECC is removed from the multiplexed data. Then, themultiplexed data free from errors, which have been detected andcorrected, is supplied to a subcode extracting unit 26. In this event,the ECC decoder 24 adds an error flag, for example, to every eight bitsof the multiplexed data to be outputted. The error flag is set to “0”when associated eight bits of the multiplexed data include no error orwhen errors have been completely corrected, and to “1” when errors wereuncorrectable.

The subcode extracting unit 26 extracts subcode data and CRC from everyone-sector portion of the multiplexed data sent from the ECC decoder 24based on a synchronization pattern thereof, supplies the extracted dataand CRC to a CRC checker 35, and also supplies the multiplexed dataincluding the subcode from the ECC decoder 24 to a ring buffer 27.

The CRC checker 35 calculates CRC included in the subcode data sent fromthe subcode extracting unit 26 to detect whether errors are included inthe subcode data. The subcode data is sent to a subcode buffer 25 if noerror is detected, whereas it is not sent to the subcode buffer 25 ifany error is detected. The subcode buffer 25 temporarily holds thesubcode data and supplies the held data to a control unit 33 in responseto a request therefrom.

The ring buffer 27 is a memory for eliminating rate fluctuations causedby variable rate recording, which has a FIFO memory therein fortemporarily buffering the multiplexed data and the error flag sent fromthe subcode extractor 26 and for supplying the buffered data to ademultiplexer 28 in response to a request therefrom.

It should be noted that while subcode information is extractedimmediately after performing an error correction in the configuration ofthis embodiment, the subcode information may be extracted, for example,immediately before the error correction.

The demultiplexer 28 decomposes data sent from the ring buffer 27 into avideo stream, an audio bit stream, a caption bit stream, subcode dataand other bit streams in accordance with the stipulation of ISO11172-1(MPEG1 System) or ISO13818-1 (MPEG2 System). Within these decomposed bitstreams, the video bit stream is supplied to a video decoder 29; theaudio bit stream to an audio decoder 30; the caption bit stream to acaption decoder 31; the subcode data to the control unit 33; and theother bit streams, which may be regarded as computer data, to a computerinterface 34.

The video decoder 29 decodes the video bit stream sent from thedemultiplexer 28 in conformity to ISO11172-2 (MPEG1 Video) or ISO13818-2(MPEG2 Video) and supplies the decoded digital video signal to a hostprocessor 32.

The audio decoder 30 decodes the audio bit stream sent from thedemultiplexer 28 in conformity to ISO11172-3 (MPEG1 Audio) or ISO13818-3(MPEG2 Audio) and outputs the decoded digital audio signal to a digitalaudio output terminal and to a D/A convertor 37. Alternatively, theoutputting of the digital audio signal to the digital audio outputterminal may be prohibited by a command from the control unit 33.

The caption decoder 31 expands the caption bit stream sent from thedemultiplexer 28, if it has undergone run-length compress, and thensupplies the expanded caption data to the host processor 32. The hostprocessor 32 in turn superimposes the caption data sent from the captiondecoder 31 on the video data sent from the video decoder 29, and outputsthe superimposed digital video signal to a digital video outputterminal, and to a D/A and NTSC converter 36. Alternatively, theoutputting of the digital video signal to the digital video signaloutput terminal may be prohibited by a command from the control unit 33.

The control unit 33 controls the ECC decoder 24, the demultiplexer 28,the video decoder 29, the caption decoder 31, the host processor 32, andso on based on a variety of instructions inputted from the user throughan input unit, not shown. The control unit 33 also sends a command tothe drive unit 22 to start reading the data recording medium 19, issuesa seek command to the drive unit 22 to seek certain data, issues anormal reproduction recover command to the drive unit 22 to resumenormal reproduction from a seek operation, read subcode data from thesubcode buffer 25, and issues the seek command and the normalreproduction recover command based on the subcode data. Incidentally, inthis embodiment, the control unit 33 fetches a subcode also from thedemultiplexer 28. This is because temporary storage of data in the ringbuffer 27 causes a delay in data outputted from the ring buffer 27, sothat a subcode extracted by the subcode extracting unit 26 presents atime difference from a subcode for a sector corresponding to currentvideo bit stream, audio bit stream, caption bit stream and other bitstream which are being decomposed by the demultiplexer 28. For thisreason, the control unit 33 fetches a subcode also from thedemultiplexer 28 during normal reproduction in order to obtain a timecode, a sector number and so on in a subcode for a sector correspondingto data which is currently being decomposed and is actually ready fordecoding.

The computer interface 34 temporarily holds bit streams sent from thedemultiplexer 28, converts electric characteristics, signal format anddata format of the bit streams so as to permit a computer to receivethem, and outputs the converted data to a computer data output.

The D/A and NTSC convertor 36 converts a digital video signal sent fromthe host processor 32 to an analog video signal, encodes the analogvideo signal to an NTSC signal, and outputs the NTSC encoded signal toan analog video output terminal. Alternatively, the convertor 36 may beprohibited from outputting the video signal to the analog video outputterminal by a command from the control unit 33. The D/A convertor 37converts a digital audio signal sent from the audio decoder 30 to ananalog audio signal, and outputs the analog audio signal to an analogaudio output terminal. Alternatively, the D/A convertor 37 may beprohibited from outputting the analog audio signal to the analog audiooutput terminal by a command from the control unit 33.

Although not shown, an EDC checker may be provided at the rear stage ofthe ECC decoder to detect errors in user data using EDC in multiplexeddata.

In the foregoing configuration, the control unit 33 first receivesreproduction instructions from the user, and issues a seek command tothe drive unit 22. The drive unit 22 moves the pickup to a predeterminedposition to read a signal from the data recording medium 19, andsupplies the read signal to the demodulator unit 23. The signal from thedrive unit 22 is demodulated by the demodulator 23 and supplied to theECC decoder 24. The ECC decoder 24 performs error detection andcorrection using ECC consisting of C1 and C2 parities sent theretotogether with multiplexed data to correct correctable errors, andsupplies the multiplexed data free from errors to the subcode extractingunit 26. The subcode extracting unit 26 detects a synchronizationpattern from the supplied multiplexed data, and supplies a subcode andCRC to the CRC checker 35 and the multiplexed data to the ring buffer27, respectively, based on the position of the detected synchronizationpattern.

The user data or multiplexed data sent to the ring buffer 27 is suppliedto the demultiplexer 28, and therein decomposed into a video bit stream,an audio bit stream, a caption bit stream, subcode data, and other bitstream, each of which is supplied to the video decoder 29, the audiodecoder 30, the caption decoder 31, the control unit 33, and thecomputer interface 34, respectively.

The video bit stream sent to the video decoder 29 is decoded therein andsupplied to the host processor 32. The audio bit stream-sent to theaudio decoder 30 is decoded therein and outputted to the digital audiooutput terminal and to the D/A convertor 37. The digital audio signalsent to the D/A convertor 37 is converted into an analog audio signaland outputted to the analog audio output terminal.

The caption bit stream sent to the caption decoder 31 is expanded, if ithas undergone run-length compress, and supplied to the host processor32. The host processor 32 superimposes the caption data sent from thecaption decoder 31 on the video data sent from the video decoder 29, andoutputs the superimposed video data to the digital video output terminaland to the D/A and NTSC convertor 36.

When subcode data is held in the subcode buffer 25, the control unit 33read out the subcode data to empty the subcode buffer 25. When a subcoderead from the subcode buffer 25 or the demultiplexer 28 is in the formshown in FIG. 10, the control unit 33 refers to copyright managementinformation included in the subcode data to issue an output enablecommand or an output disable command for the respective digital andanalog output terminals for video and audio signals. When acorresponding byte of the copyright management information is other than“0”, the control unit 33 commands the host processor 32, the D/A andNTSC convertor 36, the audio decoder 30, and the D/A convertor 37 todisable outputting the video and audio signals.

When the read subcode data is in the form shown in FIG. 6, it is assumedthat a search is made based on a time code specified by the user duringnormal reproduction. The control unit 33 stores a time code of currentlyreproduced data from subcode data thereof during normal reproduction.When a new search is instructed by the user, the stored time code iscompared with a time code specified by the user. Then, the control unit33 commands the drive unit 22 to move the pickup toward the direction inwhich data corresponding to the specified time code exists, i.e., from acurrent sector in the direction of increasing or decreasing the sectornumber of the current sector, for reading the data.

A subcode of the data read from a sector to which the pickup has beenmoved is sent through the demodulator circuit 23, the ECC decoder 24,the subcode extracting unit 26, the CRC checker 35, and the subcodebuffer 25 to the control unit 33 which reads, from the subcode, a timecode in the subcode corresponding to the sector. If the time code of thesector to which the pickup has been moved is not coincident to orsufficiently close to the time code specified by the user, the controlunit 33 again commands the drive unit 22 to move the pickup to repeatthe above-mentioned operations. when the time code of a sector to whichthe pickup has been moved is coincident to or sufficiently close to thetime code specified by the user, the search operation is stopped toresume normal reproduction from the position at which the pickup iscurrently placed. In this way, since the search operation is performedusing the time code added as a subcode, the data reproducing apparatus21 provides high-speed random access.

When the read subcode data is in the form shown in FIG. 7, a search ismade based on an entry point when instructed by the user during normalreproduction. The control unit 33, responsive to instructions from theuser, commands the drive unit 22 to move the pickup from a currentsector in the direction of increasing or decreasing the sector number ofthe current sector by a predetermined amount to read multiplexed datafrom the data recording medium 19.

A subcode of the data read from a sector to which the pickup has beenmoved is sent through the demodulator circuit 23, the ECC decoder 24,the subcode extractor 26, the CRC checker 35, and the subcode buffer 25to the control unit 33 which reads entry point information in thesubcode corresponding to the sector. If an entry point flag is not setfor the sector to which the pickup has been moved, the control unit 33again commands the drive unit 22 to move the pickup to repeat theabove-mentioned operations. If the entry point flag is set for thesector to which the pickup has been moved, the search operation isstopped to resume normal reproduction from the position at which thepickup is currently placed. In this event, since the entry point flagindicates the head position of an I-picture as described above, decodingcan be started immediately after the search operation. Also, during thesearch operation, the entry point in a subcode extracted by the subcodeextracting unit 26 is used without demultiplexing and decoding themultiplexed data, so that high speed random access can be achieved.

When the read subcode data is in the form of FIG. 8 with picture headerinformation described as shown in FIG. 14, a search is made based on apicture header flag, when instructed by the user during normalreproduction. The control unit 33, responsive to instructions from theuser, commands the drive unit 22 to move the pickup from a currentsector in the direction of increasing or decreasing the sector number ofthe current sector by a predetermined amount to read multiplexed datafrom the data recording medium 19.

A subcode of the data read from a sector to which the pickup has beenmoved is sent through the demodulator circuit 23, the ECC decoder 24,the subcode extracting unit 26, the CRC checker 35, and the subcodebuffer 25 to the control unit 33 which reads the picture header flag inthe subcode. If the picture header flag is not set for the sector towhich the pickup has been moved, the control unit 33 again commands thedrive unit 22 to move the pick up to repeat the above-mentionedoperations. Conversely, if the picture header flag is set for the sectorto which the pickup has been moved, the control unit 33 stops the searchoperation to resume normal reproduction from the position at which thepickup is currently placed. In this way, a sector including the headposition of a picture can be promptly accessed without demultiplexingand decoding the multiplexed data.

If the read subcode data is in the form of FIG. 8 with the pictureinformation described as shown in FIG. 15, a search operation can beperformed such that only I-picture is selectively read and decoded. Withthis subcode structure, a search, when instructed from the user duringnormal operation, is made based on the picture type in the subcode. Thecontrol unit 33, responsive to instructions from the user, commands thedrive unit 22 to move the pickup from a current sector in the directionof increasing or decreasing the sector number of the current sector toread data from the data recording medium 19.

A subcode of the data read from a sector to which the pickup has beenmoved is sent through the demodulator 23, the ECC decoder 24, thesubcode extracting unit 26, the CRC checker 35, and the subcode buffer25 to the control unit 33 which reads the picture type in the subcode.If the picture type of a sector to which the pickup has been moved doesnot indicate an I-picture, the control unit 33 again commands the driveunit 22 to move the pickup. If the pickup type of a sector to which thepickup was newly moved indicates I-picture, video data in this sector issupplied to the video decoder 29. Thereafter, the control unit 33repeatedly commands the drive unit 22 to move the pickup. In this way, asector including I-picture data can be accessed promptly withoutdemultiplexing and decoding multiplexed data. When the I-picture datathus obtained is decoded, exclusive reproduction of I-picture can beselectively realized.

With a similar procedure, I-picture and P-picture only can beselectively reproduced by skipping sectors, the subcode of which has thepicture type indicating a B-picture.

Incidentally, when the subcode data is in the form of FIG. 8 with thepicture header information described as shown in FIG. 14, a sectorincluding the head of a picture header is not always a sector includinga picture header of an I-picture. The video decoder 29 thereforerequires an operation for deleting read data until a sector including anI-picture is detected. Thus, although the search operation can be madefaster to some degree, it is impossible to immediately start decoding.Also, when the subcode data is in the form of FIG. 8 with the pictureheader information described as shown in FIG. 15, the first derivedI-picture-data may not include a picture header, so that part of datamust be deleted in the video decoder 29.

In consideration of the foregoing, if the subcode data is in the formshown in FIG. 8 with the picture header information described as shownin FIG. 16, a sector including a picture header of an I-picture can bespecified, so that a search operation can be realized by fasterselective reproduction of picture. Further, with the subcode data in theformat of FIG. 9, when the user specifies a temporal reference number, asearch is made based on temporal reference n the subcode. The controlunit 33, responsive to instructions from the user, commands the driveunit 22 to move the pickup from a current sector in the direction ofincreasing or decreasing the sector number of the current sector by apredetermined amount to read multiplexed data from the data recordingmedium 19.

A subcode of the data read from a sector to which the pickup has beenmoved is sent through the demodulator 23, the ECC decoder 24, thesubcode extracting unit 26, the CRC checker 35, and the subcode buffer25 to the control unit 33 which reads the temporal reference in thesubcode. The control unit 33 commands the drive unit 22 to move thepickup to repeat the above-mentioned operations until the temporalreference for the sector to which the pickup has been moved iscoincident with the temporal reference number specified by the user. Inthis way, data indicated by the temporal reference number specified bythe user can be promptly accessed without demultiplexing and decodingthe multiplexed data.

Likewise, when the subcode data is in the form shown in FIG. 18, randomaccess to a particular track number, access to a sector having aparticular application identification number, and random access usingapplication information (entry point information is written herein), forexample, when the application identification number indicates DVD, canbe promptly performed respectively without demultiplexing and decodingdata.

More specifically, when the user instructs the control unit 33 to accessa particular track number during normal reproduction, the control unit33 stores a track number of currently reproduced data, derived fromsubcode data of the currently reproduced data, during normalreproduction, compares this track number with the track number specifiedby the user for a new search, and commands the drive unit 22 to move thepickup toward the direction in which data having the specified tracknumber exists from a current sector in the direction of increasing ordecreasing the sector number of the current sector to read datatherefrom.

A subcode of the data read from a sector to which the pickup has beenmoved is sent through the demodulator 23, the ECC decoder 24, thesubcode extracting unit 26, the CRC checker 35, and the subcode buffer25 to the control unit 33 which reads a track number in the subcodecorresponding to the sector. If the track number read from the sector towhich the pickup has been moved is not coincident with the track numberspecified by the user, the control unit 33 again commands the drive unit22 to move the pickup to repeat the above-mentioned operations. If thetrack number read from the sector to which the pickup has been moved iscoincident with the track number specified by the user, the control unit33 stops the search operation to resume normal reproduction from theposition at which the pickup is currently placed. In this way, sincedata is accessed using a track number added as the subcode withoutdemultiplexing and decoding the multiplexed data, fast, random accesscan be achieved. Likewise, using the application information in whichentry point information is described, fast random access can beperformed similarly to the case of the aforementioned FIG. 7.

Also, when the subcode data is in the form shown in FIG. 18, the controlunit 33 can determined whether a sector including data associated with atarget application has been read by fetching an applicationidentification number.

Further, when the subcode data is in the form shown in FIG. 18, assumethat a two-layer disc is reproduced. A subcode of data read fro the discis supplied to the controller 33 through the demodulator unit 23, theECC decoder 24, the subcode extracting unit 26, the CRC checker 35, andthe subcode buffer 24, or through the demodulator unit 23, the ECCdecoder 24, the subcode extracting unit 26, the ring buffer 27, and thedemultiplexer 28. The control unit 33 fetches a number of layers and alayer number of a currently read sector. If the layer number of thecurrently read sector is different from a target layer number, thecontrol unit 33 commands the drive unit 22 to switch the currently readlayer to the other layer. A read signal from the switched layer issupplied to the control unit 33 through a similar path. Then, if thelayer number of a sector from which the signal is being read is equal tothe target layer number, reproduction is continued.

Further, when the subcode data is in the form of FIG. 18, the controlunit 33 reads copyright management information in the subcode, andcontrols the outputs of the host processor 32, the D/A and NTSCconvertor 36, and the D/A convertor 37 in accordance with the contentsof the copyright management information. If the subcode indicates thatduplication is permitted only once, this information is delivered toexternally connected equipment.

When the above-mentioned search operations and random access areperformed, the control unit 33 commands the ECC decoder 24 to change anerror correction mode. This causes the ECC decoder 24 to perform theerror correction only with the C1 parity in multiplexed data. In thisway, the subcode data can be fetched more promptly. Of course, if theerror correction was performed with both C1 and C2 parities as is thecase of normal reproduction, the error correction capability would beenhanced. However, the error correction with the C1 and C2 paritieswould result in delaying in extracting the subcode data.

According to the foregoing configuration, when a data recording medium19 on which video data, audio data, caption data, data composed of aplurality of these data, and data produced on a computer are recorded inthe unit of sector together with a time code, entry point information,picture header information, temporal reference, or track number as asubcode added to each sector, is reproduced at a variable data rate, byseparately reproducing the subcode alone, it is possible to realize adata reproducing apparatus which provides remarkable improvements in theusability for special reproduction, search and reproduction, and so on.

Also, since information on copyright is additionally recorded as asubcode for each sector on the data recording medium 19 and this subcodeis extracted when reproducing the data recording medium 19 for use incopyright management, detailed copyright management can be realized foreach sector.

Further, since layer information is additionally recorded as a subcodefor each sector on the data recording medium 19 and this subcode isextracted when reproducing the data recording medium, it is possible torealize a data reproducing apparatus which can reproduce recorded dataextending over a plurality of layers with a simple configuration.

Further, since an application identification number and applicationinformation area recorded in each sector as a subcode on the datarecording medium and this subcode is extracted when reproducing the datarecording medium for controlling reproduction, it is possible to realizea data reproducing apparatus which provides remarkable improvements inthe usability.

(4) Other Embodiments

While in the foregoing embodiment, a subcode extracted by the subcodeextracting unit 26 is used when performing a search operation or randomaccess, a subcode separated by the demultiplexer 28 may also be used forthe purpose. It should be noted however that since the ring buffer 27causes a delay as described above, an improvement in operating speedwill be limited as compared with the foregoing embodiment.

While the foregoing embodiment has been described for the case where asubcode is recorded in each sector prior to user data, the arrangementof the subcode is not limited to this. The subcode may be contained in2,048 bytes of user data as other raw data different from the user data,or may be contained as data having a particular packet header. Furtheralternatively, the subcode may be located in a data management areawhich is reserved separately from a data recording area, i.e., aso-called TOC (Table of Contents) area in a compact disc or the like.

While in the foregoing embodiment, the subcode has a length of 14 bytesand the user data has a length of 2,048 bytes, the lengths of thesubcode and the user data are not limited to these values and may bearbitrary selected as required. Also, the length of the error correctioncode calculated for the subcode and the user data may be arbitrarilyselected in accordance with requirements to the error correction anddetection capability and so on.

The foregoing embodiment has been described for the case where ECCconsisting of Reed-Solomon codes is added to the user data as an errorcorrection code while CRC and EDC are added to the subcode as an errordetection code. However, the kinds of error correction and detectioncodes are not limited to the above. The point is that if the errorcorrection and detection codes are selected such that the subcode isreproduced easier than the user data in view of a calculation time andso on upon reproduction, similar effects to those of the foregoingembodiment can be realized.

While the foregoing embodiment has been described for the case wheretime code information, entry point information, picture headerinformation, temporal reference information, copyright managementinformation, layer information, track number or applicationidentification number is added as a subcode, similar effect as those ofthe foregoing embodiment can be realized also by combining them or byadding other additional information for data reproduction as a subcode,as required.

In the foregoing embodiment, one packet of video data, audio data,caption data, data composed of a plurality of these data, and dataproduced on a computer is created so as not to extend over a pluralityof sectors. Alternatively, a region in which one or a plurality ofaudio/video tracks are recorded as user data may be regarded as one filein a file system such that a computer can manage and modify anassignment situation of a region for computer data and programs and aregion for recording audio/video data on a data recording medium.Further, in this case, the TOC area may be treated as a virtualdirectory in the file system, and audio/video data may be treated asfiles existing in the directory such that the audio/video data can beread from and written into a computer system.

While the foregoing embodiment has been described for the case where thepresent invention is applied to recording and reproducing of video data,audio data, caption data, data composed of a plurality of these data,and data produced on a computer based on the stipulation of ISO11172(MPEG1) or ISO13818 (MPEG2), the present invention is not limited tothis but is suitable for wide applications to data recording methods andapparatus, data recording media, and data reproducing methods andapparatus which treat a variety of data.

While in the foregoing embodiment, the multiplexed data is assumed to bevariable rate data, of course, it may be fixed rate data.

While the foregoing embodiment has been described on the assumption thatthe data recording medium 19 formed by the data recording apparatus 1 isdirectly utilized as the data recording medium 19 to be reproduced bythe data reproducing apparatus 21, a recording medium reproduced by thedata reproducing apparatus 21 may be one of recording mediamass-produced by a stamper or the like from the data recording medium 19formed by the data recording apparatus 1 used as a master recordingmedium.

According to the present invention as described above, by virtue ofadditional information for data reproduction serving as a subcodeseparately from data in each sector, which is added when the data isrecorded on a data recording medium in the unit of sector, it ispossible to realize a data recording method and apparatus as well as adata recording medium which can control data reproduction using thesubcode and hence can remarkably improve the usability of the datarecording medium.

Also, according to the present invention as described above, uponreproducing a data recording medium which has a subcode serving asadditional information for data reproduction in each sector separatelyfrom data, which was added when the data was recorded in the unit ofsector, the subcode recorded in each sector is reproduced separatelyfrom reproduction of data recorded in each sector, in order to controlthe reproduction of the data, thereby making it possible to realize adata reproducing method and apparatus which can support a variety ofreproducing methods and improve the usability.

INDUSTRIAL AVAILABILITY

The data recording method and apparatus of the present invention may beutilized to record compressed digital images, compressed digital speechand so on in a multiplex manner to create DVD (Digital Video Disc). Thedata recording medium of the present invention, in turn, may be utilizedas DVD on which compressed digital images, compressed digital speech andso on are recorded in a multiplex manner. Further, the data reproducingmethod and apparatus of the present invention may be utilized toreproduce data from DVD on which compressed digital images, compresseddigital speech and so on are recorded in a multiplex manner.

1-54. (canceled)
 55. A data recording method comprising the steps of:recording data onto a data recording medium having a number of layers insector units each having at least one packet, in which each packetincludes a packet header and respective data; and recording additionalinformation for data reproduction in each of said sectors separatelyfrom said data, in which said additional information includes a sectornumber for identifying a respective sector and other items including atleast copyright management information and layer number informationindicative of the number of layers of said data recording medium,wherein said packet is defined so as not to extend over a plurality ofsectors even if said data includes variable bit rate data.
 56. The datarecording method according to claim 55, wherein said data includes atleast compressed video data.
 57. The data recording method according toclaim 55, wherein said data is multiplexed data including at least videodata, audio data and caption data.
 58. The data recording methodaccording to claim 55, wherein said data includes computer data.
 59. Adata recording apparatus comprising: means for recording data onto adata recording medium having a number of layers in sector units eachhaving at least one packet, in which each packet includes a packetheader and respective data; and means for recording additionalinformation for data reproduction in each of said sectors separatelyfrom said data, in which said additional information includes a sectornumber for identifying a respective sector and other items including atleast copyright management information and layer number informationindicative of the number of layers of said data recording medium,wherein said packet is defined so as not to extend over a plurality ofsectors even if said data includes variable bit rate data.
 60. The datarecording apparatus according to claim 59, wherein said data includes atleast compressed video data.
 61. The data recording apparatus accordingto claim 59, wherein said data is multiplexed data including at leastvideo data, audio data and caption data.
 62. The data recordingapparatus according to claim 59, wherein said data includes computerdata.
 63. A data recording apparatus for recording information onto arecord medium, said apparatus comprising: a generator operable togenerate record information and additional information, said additionalinformation includes a sector number for identifying a respective sectorand other items including at least copyright information and layerinformation indicative of a layer number of a respective layer, and awriting unit operable to record data onto the record medium in sectorunits, each sector unit having said additional information and at leastone data packet, each data packet includes a packet header andrespective data, wherein said data packet is defined so as not to extendover a plurality of sectors.
 64. The data recording apparatus accordingto claim 63, wherein the data is variable bit rate data.
 65. The datarecording apparatus according to claim 64, wherein the data iscompressed video data.
 66. The data recording apparatus according toclaim 63, wherein said layer information is further indicative of anumber of layers.
 67. A data reproducing apparatus for reproducinginformation from a record medium, said apparatus comprising: areproduction unit operable to reproduce data from the record medium insector units, each sector unit having record information and additionalinformation and at least one data packet, each data packet includes apacket header and respective data, wherein said data packet is definedso as not to extend over a plurality of sectors; and a processorresponsive to the additional information, said additional informationincludes a sector number for identifying a respective sector and otheritems including at least copyright information and layer informationindicative of a layer number of a respective layer.
 68. The datareproducing apparatus according to claim 67 wherein the data is variablebit rate data.
 69. The data reproducing apparatus according to claim 68,wherein the data is compressed video data.
 70. The data reproducingapparatus according to claim 67, wherein said layer information isfurther indicative of a number of layers.
 71. A data recording methodfor recording information onto a record medium, said method comprisingthe steps of: generating record information and additional information,said additional information includes a sector number for identifying arespective sector and other items including at least copyrightinformation and layer information indicative of a layer number of arespective layer, and recording data onto the record medium in sectorunits, each sector unit having said additional information and at leastone data packet, each data packet includes a packet header andrespective data, wherein said data packet is defined so as not to extendover a plurality of sectors.
 72. The data recording method according toclaim 71, wherein the data is variable bit rate data.
 73. The datarecording method according to claim 72, wherein the data is compressedvideo data.
 74. The data recording method according to claim 71, whereinsaid layer information is further indicative of a number of layers. 75.A data reproducing method for reproducing information from a recordmedium, said method comprising the steps of: reproducing data from therecord medium in sector units, each sector unit having recordinformation and additional information and at least one data packet,each data packet includes a packet header and respective data, whereinsaid data packet is defined so as not to extend over a plurality ofsectors; and utilizing a processor responsive to the additionalinformation, said additional information includes a sector number foridentifying a respective sector and other items including at leastcopyright information and layer information indicative of a layer numberof a respective layer.
 76. The data reproducing method according toclaim 75, wherein the data is variable bit rate data.
 77. The datareproducing method according to claim 76, wherein the data is compressedvideo data.
 78. The data reproducing method according to claim 75,wherein said layer information is further indicative of a number oflayers.
 79. A program for recording information onto a record medium,said program comprising instructions for: generating record informationand additional information, said additional information includes asector number for identifying a respective sector and other itemsincluding at least copyright information and layer informationindicative of a layer number of a respective layer, and recording dataonto the record medium in sector units, each sector unit having saidadditional information and at least one data packet, each data packetincludes a packet header and respective data, wherein said data packetis defined so as not to extend over a plurality of sectors.
 80. Theprogram according to claim 79, wherein the data is variable bit ratedata.
 81. The program according to claim 80, wherein the data iscompressed video data.
 82. The program according to claim 79, whereinsaid layer information is further indicative of a number of layers. 83.A program for reproducing information from a record medium, said programcomprising instructions for: reproducing data from the record medium insector units, each sector unit having record information and additionalinformation and at least one data packet, each data packet includes apacket header and respective data, wherein said data packet is definedso as not to extend over a plurality of sectors; and utilizing aprocessor responsive to the additional information, said additionalinformation includes a sector number for identifying a respective sectorand other items including at least copyright information and layerinformation indicative of a layer number of a respective layer.
 84. Theprogram according to claim 83, wherein the data is variable bit ratedata.
 85. The program according to claim 84, wherein the data iscompressed video data.
 86. The program according to claim 83, whereinsaid layer information is further indicative of a number of layers.